package com.qigao.mall.api;

import com.qigao.mall.commons.dto.ShopInfoCreateDto;
import com.qigao.mall.commons.dto.ShopInfoDto;
import com.qigao.mall.jdbc.model.TbShopInfo;

import java.util.List;

public interface ShopInfoService {
    TbShopInfo create(ShopInfoCreateDto shopInfoCreateDto);

    ShopInfoDto findByShopNo(String shopNo);

    List<ShopInfoDto> findListByMerNo(String merNo);

    void enableDisable(Long id, String currentUserNo);

    void update(ShopInfoCreateDto shopInfoCreateDto);

    void updateByShopNo(ShopInfoCreateDto shopInfoCreateDto);

    ShopInfoDto findByOrderNo(String orderNo);

    ShopInfoDto findByShopName(String shopName);
}
